package com.sms.graduate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sms.graduate.entity.SmsHostel;

import java.util.List;


public interface SmsHostelService extends IService<SmsHostel> {

    /**
     * 查询宿舍信息
     */
    List<SmsHostel> queryHostelInfo(SmsHostel smsHostel);

    Boolean addHostel(SmsHostel smsHostel);

    Boolean loseHostelNum(Integer id);

    Boolean addHostelNum(Integer id);

    boolean deleteHostel(Integer id);
}

